<template>
<uni-shadow-root class="partials-volunteer_list-type_two-index"><template name="typeTwo">
  <view class="container" :style="'height:'+(OrganizeshowWay==1? "100%":"")"> 
    <block v-if="OrganizeshowWay == 2">
      <view class="space_page_container_two" :style="'height:'+(OrganizeshowWay==1? "100%":"")+';margin-top:'+(limitState!=0?"":"80rpx")">
        <block v-if="(!!organizeList)">
          <view v-for="(result,index) in (organizeList)" class="asset_item_two" v-if="limitState!=0?index<data.jsonData.count:'ture'" :data-link="'organize_detail.html?organizeId='+(result.id)" @click="tolinkUrl">
            <view class="asset_item_head">
                <image :src="result.icon" class="asset_item_head_img"></image>
            </view>
            <view class="asset_item_content">
                <text class="asset_item_name">{{result.name}}</text>
                <view class="asset_item_content_bottom">
                    <view class="asset_item_content_addr">
                        <text class="asset_item_content_addr_title title">地址：</text>
                        <text class="asset_item_content_addr_value">{{result.industry}}</text>
                    </view>
                    <view class="asset_item_content_other">
                        <view class="asset_item_content_other_item">
                            <text class="asset_item_content_time_title title">荣誉时长：</text>
                            <text class="asset_item_content_time_value">{{result.organizeHonourScore}}</text>
                        </view>
                        <view class="asset_item_content_other_item">
                            <text class="asset_item_content_time_title title">志愿人数</text>
                            <text class="asset_item_content_time_value">{{result.organizeUserCount}}</text>
                        </view>
                    </view>
                </view>
            </view>
          </view>
        </block>
        <block v-else>
          <view class="nospace">
            <image mode="widthFix" src="https://image1.sansancloud.com/xianhua/2019_12/17/11/9/46_337.jpg?x-oss-process=style/preview_120"></image>
            <text>没有相关商品</text>
          </view>
        </block>
      </view>
    </block>
  </view>
</template></uni-shadow-root>
</template>

<script>

global['__wxRoute'] = 'partials/volunteer_list/type_two/index'

Component({})

export default global['__wxComponents']['partials/volunteer_list/type_two/index']
</script>
<style platform="mp-weixin">
/* 列表样式 */
.space_page_container_two{
  background:#fff;
  width: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
}
.asset_item_two{
  display: flex;
  flex-direction: row;
  box-shadow:4rpx 4rpx 10rpx #ddd;
  margin-top:20rpx;
  background:#fff;
  border-top:1rpx solid #eee;
  padding: 20rpx;
  box-sizing: border-box;
}
.asset_item_head{
    width: 140rpx;
    height: 140rpx;
    display: flex;
    flex-direction: row;
    justify-content: center;
    margin-right: 32rpx;
}
.asset_item_head_img{
    width: 100%;
    height: 100%;
    border-radius: 140rpx;
}
.asset_item_content{
    display: flex;
    flex-direction: column;
    width: 76%;
}
.asset_item_name{
    color: #333;
    font-size: 32rpx;
    margin-bottom: 16rpx;
    font-weight: bold;
}
.asset_item_content_bottom{
    display: flex;
    flex-direction: column;
    font-size: 24rpx;
    width: 100%;
}
.asset_item_content_addr{
    display: flex;
    flex-direction: row;
    align-items: center;
    color: #333;
    margin-bottom: 8rpx;
}
.title{
    color: #999;
}
.asset_item_content_other{
    display: flex;
    flex-direction: row;
    align-items: center;
    width: 100%;
}
.asset_item_content_other_item{
    width: 50%;
    display: flex;
    flex-direction: row;
    align-items: center;
}
</style>